package com.xbongbong.pro.log.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 操作日志详情接口DTO
 * @author zcp
 * @version v1.0
 * @date 2019/6/24 22:03
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class OperateDetailLogDTO extends BaseDTO {
    private static final long serialVersionUID = 7487936843336757759L;

    /**
     * 关联日志表ID
     */
    @NotNull(message = "{dto.msg.operateDetailLog.operateLogId.NotNull}")
    private String operateLogId;

    /**
     * 模块code，@see OperateModuleTypeEnum
     */
    @NotNull(message = "{dto.msg.operateDetailLog.moduleType.NotNull}")
    private Integer moduleType;

    /**
     * 操作code，@see OperateTypeEnum
     */
    @NotNull(message = "{dto.msg.operateDetailLog.opType.NotNull}")
    private Integer opType;
}
